# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
  'targets': [
    {
      'target_name': 'main',
      'variables': {
        'depends': [
          '<@(cws_widget_container)',
          '../../../../../third_party/jstemplate/compiled_resources.gyp:jstemplate',
          '../../../../../ui/webui/resources/js/load_time_data.js',
          '../../../../../ui/webui/resources/js/cr.js',
          '../../../../../ui/webui/resources/js/util.js',
          '../../../../../ui/webui/resources/js/compiled_resources.gyp:i18n_template_no_process',
          '../../../../../ui/webui/resources/js/event_tracker.js',
          '../../../../../ui/webui/resources/js/cr/ui.js',
          '../../../../../ui/webui/resources/js/cr/event_target.js',
          '../../../../../ui/webui/resources/js/cr/ui/touch_handler.js',
          '../../../../../ui/webui/resources/js/cr/ui/array_data_model.js',
          '../../../../../ui/webui/resources/js/cr/ui/dialogs.js',
          '../../../../../ui/webui/resources/js/cr/ui/list_item.js',
          '../../../../../ui/webui/resources/js/cr/ui/list_selection_model.js',
          '../../../../../ui/webui/resources/js/cr/ui/list_single_selection_model.js',
          '../../../../../ui/webui/resources/js/cr/ui/list_selection_controller.js',
          '../../../../../ui/webui/resources/js/cr/ui/list.js',
          '../../../../../ui/webui/resources/js/cr/ui/tree.js',
          '../../../../../ui/webui/resources/js/cr/ui/autocomplete_list.js',
          '../../../../../ui/webui/resources/js/cr/ui/splitter.js',
          '../../../../../ui/webui/resources/js/cr/ui/table/table_splitter.js',
          '../../../../../ui/webui/resources/js/cr/ui/table/table_column.js',
          '../../../../../ui/webui/resources/js/cr/ui/table/table_column_model.js',
          '../../../../../ui/webui/resources/js/cr/ui/table/table_header.js',
          '../../../../../ui/webui/resources/js/cr/ui/table/table_list.js',
          '../../../../../ui/webui/resources/js/cr/ui/table.js',
          '../../../../../ui/webui/resources/js/cr/ui/grid.js',
          '../../../../../ui/webui/resources/js/cr/ui/command.js',
          '../../../../../ui/webui/resources/js/cr/ui/position_util.js',
          '../../../../../ui/webui/resources/js/cr/ui/menu_item.js',
          '../../../../../ui/webui/resources/js/cr/ui/menu.js',
          '../../../../../ui/webui/resources/js/cr/ui/menu_button.js',
          '../../../../../ui/webui/resources/js/cr/ui/context_menu_handler.js',
          '../../common/js/error_util.js',
          '../../common/js/async_util.js',
          '../../common/js/file_type.js',
          '../../common/js/volume_manager_common.js',
          '../../common/js/importer_common.js',
          '../../common/js/util.js',
          '../../common/js/progress_center_common.js',
          '../../common/js/lru_cache.js',
          '../../common/js/metrics_base.js',
          '../../common/js/metrics_events.js',
          '../../common/js/metrics.js',
          '../../background/js/file_operation_manager.js',
          '../../background/js/file_operation_util.js',
          '../../background/js/file_operation_handler.js',
          '../../background/js/device_handler.js',
          '../../background/js/drive_sync_handler.js',
          '../../background/js/duplicate_finder.js',
          '../../background/js/volume_manager.js',
          '../../background/js/progress_center.js',
          '../../background/js/app_window_wrapper.js',
          '../../background/js/import_history.js',
          '../../background/js/launcher_search.js',
          '../../background/js/task_queue.js',
          '../../background/js/media_import_handler.js',
          '../../background/js/media_scanner.js',
          '../../background/js/background_base.js',
          '../../background/js/background.js',
          '../../../image_loader/image_loader_client.js',
          '../elements/files_ripple.js',
          '../elements/files_toggle_ripple.js',
          '../elements/files_tooltip.js',
          './metrics_start.js',
          './ui/combobutton.js',
          './ui/commandbutton.js',
          './ui/file_manager_dialog_base.js',
          './actions_controller.js',
          './actions_model.js',
          './app_state_controller.js',
          './column_visibility_controller.js',
          './dialog_action_controller.js',
          './dialog_type.js',
          './directory_contents.js',
          './directory_model.js',
          './directory_tree_naming_controller.js',
          './elements_importer.js',
          './empty_folder_controller.js',
          './file_manager.js',
          './file_manager_commands.js',
          './file_selection.js',
          './file_tasks.js',
          './file_transfer_controller.js',
          './file_watcher.js',
          './folder_shortcuts_data_model.js',
          './gear_menu_controller.js',
          './import_controller.js',
          './launch_param.js',
          './metadata/content_metadata_provider.js',
          './metadata/external_metadata_provider.js',
          './metadata/file_system_metadata_provider.js',
          './metadata/metadata_cache_item.js',
          './metadata/metadata_cache_set.js',
          './metadata/metadata_item.js',
          './metadata/metadata_model.js',
          './metadata/multi_metadata_provider.js',
          './metadata/new_metadata_provider.js',
          './metadata/thumbnail_model.js',
          './metadata_update_controller.js',
          './naming_controller.js',
          './navigation_list_model.js',
          './progress_center_item_group.js',
          './scan_controller.js',
          './search_controller.js',
          './sort_menu_controller.js',
          './spinner_controller.js',
          './share_client.js',
          './task_controller.js',
          './toolbar_controller.js',
          './thumbnail_loader.js',
          './list_thumbnail_loader.js',
          './providers_model.js',
          './ui/actions_submenu.js',
          './ui/banners.js',
          './ui/default_task_dialog.js',
          './ui/dialog_footer.js',
          './ui/directory_tree.js',
          './ui/drag_selector.js',
          './ui/empty_folder.js',
          './ui/error_dialog.js',
          './ui/file_grid.js',
          './ui/file_list_selection_model.js',
          './ui/file_manager_ui.js',
          './ui/file_table.js',
          './ui/file_table_list.js',
          './ui/files_alert_dialog.js',
          './ui/files_confirm_dialog.js',
          './ui/files_menu.js',
          './ui/gear_menu.js',
          './ui/list_container.js',
          './ui/location_line.js',
          './ui/multi_profile_share_dialog.js',
          './ui/progress_center_panel.js',
          './ui/providers_menu.js',
          './ui/scrollbar.js',
          './ui/search_box.js',
          './ui/share_dialog.js',
          './ui/suggest_apps_dialog.js',
          './main_window_component.js',
          './volume_manager_wrapper.js',
          './metadata/byte_reader.js',
        ],
        'externs': [
          '<(EXTERNS_DIR)/chrome_extensions.js',
          '<(EXTERNS_DIR)/chrome_send.js',
          '<(EXTERNS_DIR)/command_line_private.js',
          '<(EXTERNS_DIR)/file_manager_private.js',
          '<(EXTERNS_DIR)/metrics_private.js',
          '../../../../../third_party/analytics/externs.js',
          '../../../externs/chrome_echo_private.js',
          '../../../externs/chrome_webstore_widget_private.js',
          '../../../externs/chrome_test.js',
          '../../../externs/connection.js',
          '../../../externs/css_rule.js',
          '../../../externs/es6_workaround.js',
          '../../../externs/html_menu_item_element.js',
          '../../../externs/launcher_search_provider.js',
          '../../../externs/webview_tag.js',
          '../../../externs/paper_elements.js',
          '../../../externs/platform.js',
          '../../common/js/externs.js',
        ],
      },
      'includes': [
        '../../../../../components/chrome_apps/webstore_widget/cws_widget/compiled_resources.gypi',
        '../../../compile_js.gypi',
      ],
    }
  ],
}
